package com.kust.smarthome.web.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("购物车购买")
public class ShopBuyVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品id和对应数量", notes = "格式: (商品id1)x(商品数量1);(商品id2)x(商品数量2)")
    private String content;

    @ApiModelProperty("总金额")
    private Double money;
}
